<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>订单详情-{$tpshop_config['shop_info_store_title']}</title>
    <meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
    <link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
    <link rel="stylesheet" href="__STATIC__/css/myuser.css" type="text/css">
</head>

<body>
<!--------头部开始-------------->
<include file="Public/header" />
<include file="Public/topnav" />
<!--------头部结束-------------->

<div class="page_pad">
  <div class="page_margin">
    <div class="page_radius page_hidden">
      <div class="page_padin">
        <div class="user_page">
          <div class="user_poi">当前位置：首页 &gt; <span>我购买的网店</span></div>
          <div class="user_left">
            <include file="User/userleft" />
          </div><!--user_left-->

          <div class="user_right">
            <div class="order_page">
              <div class="uright_tabs">
                <ul>
                  <li><a class="on" href="javascript:void(0)">订单详情</a></li>
                  <div class="clear"></div>
                </ul>
              </div><!--uright_tabs-->
              
              <div class="order_detail">
                <div class="bor">
                <table>
                  <tr>
                    <th>订单编号</th>
                    <th>：</th>
                    <th>{$order.order_sn}</th>
                  </tr>
                    <tr>
                        <th>订单状态</th>
                        <th>：</th>
                        <th>
                            <if condition="$order[pay_status] eq 1">
                                已支付
                                <else/>
                                待支付
                            </if>

                        </th>
                    </tr>
                  <tr>
                    <td>生成时间</td>
                    <td>：</td>
                    <td>{$order.add_time|date='Y-m-d H:s',###} </td>
                  </tr>
                  <tr>
                    <td>网店标题</td>
                    <td>：</td>
                    <td>{$order.goods_id|get_goods_name}</td>
                  </tr>
                  <tr>
                    <td>店铺价钱</td>
                    <td>：</td>
                    <td>{$order.price}元</td>
                  </tr>
                  <tr>
                    <td>保 证 金</td>
                    <td>：</td>
                    <td>{$order.b_price}元</td>
                  </tr>
                  <tr>
                    <td>技术年费</td>
                    <td>：</td>
                    <td>{$order.j_price}元</td>
                  </tr>
                  <tr>
                    <td>手 续 费</td>
                    <td>：</td>
                      <td>{$order.s_price}元<span style="color:red">
                      <if condition="$goods_type eq 3">
                        (店铺价格的10%)
                          <else/>
                         (店铺总价的10%)
                      </if>


                      </span></td>
                  </tr>
                  <tr>
                    <td>订单总价</td>
                    <td>：</td>
                    <td><span class="order_pri">{$order.total_amount}</span>元</td>
                  </tr>
                    <if condition="$order[pay_status] eq 0">
                    <tr>
                        <td>需支付定金</td>
                        <td>：</td>
                        <td><span class="order_pri">{$order.total_amount}</span>元   <span style="color:red;">(支付定金后保留7天)</span></td>
                    </tr>

                    </if>






                </table>
                    <if condition="$order[pay_status] eq 0">
                    <div>  <span style="color:red">(请您在预留期内支付定金，如果发现店铺与我们网站描述的不符，7天内可以申请退款，超过7天或者非我方过错导致交易无法往下进行的，均无法退回本次支付的定金，请知悉！)</span>
                    </div>
                    </if>

                </div>
              </div><!--order_detail-->



       <!--         <div class="order_fk">
                    <div class="seller_tit"><p>付款信息  <span>(注意：请将预付款转账进如下账户并上传转帐凭证，以完成订单！)</span></p></div>
                    <div class="seller_ye">
                        <span class="span1">所属银行：</span><span class="span2">中国银行</span><br/>
                        <span class="span1">&nbsp;&nbsp;&nbsp;&nbsp;开户行：</span><span class="span2">中国银行中山市古镇支行</span><br/>
                        <span class="span1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;户名：</span><span class="span2">中山市朋伴网络科技有限公司</span><br/>
                        <span class="span1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;账号：</span><span class="span2">6225-0000-0000-0000-000</span><br/>
                    </div>

                    <div class="order_fksub">
                        <form action="{:U('transfer_vouchers')}" method="post" id="form1">
                            <input name="order_id" id="order_id" value="{$order.order_id}" type="hidden">
                            <div class="h1"><input name="transfer_vouchers" value="{$order.transfer_vouchers}" placeholder="请输入转账凭证" id="transfer_vouchers" type="text"/></div>
                            &lt;!&ndash;<div class="order_fksub_sub"><a href="{:U('/Home/Cart/cart4',array('order_id'=>$order_info[order_id]))}"><p>付 款</p></a></div>&ndash;&gt;
                            <div class="order_fksub_sub"><a href="javascript:;" onclick="sub_form1()"><p>提交</p></a></div>

                        </form>

                    </div>
                </div>&lt;!&ndash;order_fk&ndash;&gt;


<script>
    function sub_form1(){
        var transfer_vouchers=$('#transfer_vouchers').val();
        if(transfer_vouchers == ''){
            $.artTip('转账凭证不能为空', 800);
            return false;
        }else{
            $('#form1').submit();
        }
    }
</script>-->

                <if condition="$order[pay_status] eq 0">
                    <div class="order_fk">
                        <!--<div class="seller_tit"><p>付款信息</p></div>-->
                        <!--<div class="seller_ye">
                            <span class="span1">账户余额：</span><span class="span2">{$user_money}</span>元<if condition="$no_money eq 1" ><span class="span3"><a href="{:U('/Home/User/my_money')}">余额不足，立即去充值</a></span></if>
                        </div>-->
                        <div class="order_fksub">
                            <div class="h1">当前应付款：<span>{$order.pay_price}</span>元</div>
                            <!--<div class="order_fksub_sub"><a href="{:U('/Home/Cart/cart4',array('order_id'=>$order_info[order_id]))}"><p>付 款</p></a></div>-->
                            <div class="order_fksub_sub"><a href="{:U('/Home/User/order_pay',array('order_id'=>$order[order_id]))}"><p>付 款</p></a></div>
                        </div>
                    </div><!--order_fk-->
                </if>







            </div><!--order_page-->
          </div><!--user_right-->
          <div class="clear"></div>
        </div><!--user_page-->
      </div><!--page_padin-->
    </div><!--page_radius-->
  </div><!--page_margin-->
</div><!--page_pad-->


<!--------footer-开始-------------->
<include file="Public/footer" />
<!--------footer-结束-------------->

</body>
<script>
    /*$(function () {
     $("#h-s").click(function () {
     $('.ec-ta-x').css('left','124px');
     $('.ec-ta-x').css('width','110px');
     $(this).addClass("cullent");
     $('#q-s').removeClass("cullent");
     });
     });
     */
</script>

<script>
    $(function () {
        $("#h-s").mouseover(function () {
            $('.ec-ta-x').css('left','124px');
            $('.ec-ta-x').css('width','110px');
            $(this).addClass("cullent");
        });
        $("#h-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
            $('.ec-ta-x').css('width','124px');
            $(this).removeClass("cullent");
        });
    });
    $(function () {
        $("#q-s").mouseover(function () {
            $('.ec-ta-x').css('left','0px');
            $(this).addClass("cullent");
        });
        $("#q-s").mouseout(function () {
            $('.ec-ta-x').css('left','0px');
        });
    });
    //取消订单
    function cancel_order(id){
        if(!confirm("确定取消订单?"))
            return false;
        location.href = "/index.php?m=Home&c=User&a=cancel_order&id="+id;
    }
</script>
</html>